home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
Libraries
/
Apache 1.0
/
support
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-12-04
|
761b
|
54 lines
# For gcc
CC= gcc
# For ANSI compilers
#CC= cc
#For Optimization
#CFLAGS= -O2
#For debugging
CFLAGS= -g
# For SCO ODT
#EXTRA_LIBS= -lcrypt_i
RM= /bin/rm -f
#--- You shouldn't have to edit anything else. ---
.c.o:
$(CC) -c $(CFLAGS) $<
all: htpasswd unescape inc2shtml
ibm: $(OBJS)
make all CC=gcc
sun: $(OBJS)
make all CC=gcc
hp: $(OBJS)
make all CC=gcc
sgi: $(OBJS)
make all CC=cc
decmips: $(OBJS)
make all CC=cc
decaxp: $(OBJS)
make all CC=cc
tar: htpasswd unescape
$(RM) htpasswd unescape
htpasswd: htpasswd.c
$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(EXTRA_LIBS)
unescape: unescape.c
$(CC) $(CFLAGS) unescape.c -o unescape
inc2shtml: inc2shtml.c
$(CC) $(CFLAGS) inc2shtml.c -o inc2shtml
clean:
rm -f htpasswd unescape inc2shtml